home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume11 / starchart / part02 < prev    next >
Encoding:
Text File  |  1990-03-15  |  50.1 KB  |  1,742 lines

  1. Newsgroups: comp.sources.misc
  2. subject: v11i030: starchart 3.2 Part 02/32
  3. from: ccount@ATHENA.MIT.EDU
  4. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  5.  
  6. Posting-number: Volume 11, Issue 30
  7. Submitted-by: ccount@ATHENA.MIT.EDU
  8. Archive-name: starchart/part02
  9.  
  10. #! /bin/sh
  11. # This is a shell archive.  Remove anything before this line, then unpack
  12. # it by saving it into a file and typing "sh file".  To overwrite existing
  13. # files, type "sh file -c".  You can also feed this as standard input via
  14. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  15. # will see the following message at the end:
  16. #        "End of archive 2 (of 32)."
  17. # Contents:  Readme.second data/cnames.star dataconv/Makefile
  18. #   dataconv/tosize.c dataconv/tosize.perl doc/README observe/Makefile
  19. #   observe/descrip.mms observe/eventcalc.c observe/outobs.c
  20. #   observe/sortlib.c samples/asteroids.ell_e samples/color.star
  21. #   samples/test.star6-A samples/test.starbright starchart/README.mac
  22. #   starchart/Starchar.MSC starchart/startool.icon
  23. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  24. if test -f 'Readme.second' -a "${1}" != "-c" ; then 
  25.   echo shar: Will not clobber existing file \"'Readme.second'\"
  26. else
  27. echo shar: Extracting \"'Readme.second'\" \(1991 characters\)
  28. sed "s/^X//" >'Readme.second' <<'END_OF_FILE'
  29. XThis directory contains the distribution of  version 3.2 of starchart,
  30. Xplus several supporting programs, and documentation.
  31. X
  32. X
  33. XPROBLEMS and installation:
  34. X
  35. XYou should   have   no difficulty with  the  three   programs  in  the
  36. X"dataconv" directory.
  37. X
  38. XYou might (but shouldn't) have trouble with "observe".  However, a few
  39. Xcompilers might still have trouble with the  large expressions used in
  40. Xsome calculations.  Also, if you have non-standard time functions, you
  41. Xmay need to change that section of code.
  42. X
  43. XYou must take care in compiling programs in the "starchart" directory.
  44. XExamine (all of) and edit (a few lines of) the Makefile.  Decide which
  45. Xversions  of the program you  will want to  use (there  is a different
  46. Xversion   for     each  (input/)output  device).    Also  examine  the
  47. X"postconv.awk" file if you  will be using "starpost",  and "startool*"
  48. Xif you have a Sun computer.
  49. X
  50. XExtensive documentation  is available  in  the  "doc"  directory, in a
  51. Xvariety of formats.
  52. X
  53. XSample input files are found in the "samples" directory.
  54. X
  55. XSome data  files are in the  "data"  directory.  Other  starchart data
  56. Xfiles are distributed separately.
  57. X
  58. XNote Well: 
  59. X
  60. XAll programs are copyrighted.
  61. X
  62. XThis software may be redistributed freely, not sold.
  63. X
  64. XNo representation is made  about the suitability  of this software for
  65. Xany  purpose.  It is  provided   "as  is" without  express or  implied
  66. Xwarranty, to the extent permitted by applicable law.
  67. X
  68. XDISCLAIMER OF WARRANTY
  69. X----------------------
  70. XThe author  disclaims all warranties  with regard to  this software to
  71. Xthe   extent  permitted  by applicable   law,  including all   implied
  72. Xwarranties  of merchantability  and  fitness. In  no event shall   the
  73. Xauthor be liable for any special, indirect or consequential damages or
  74. Xany  damages whatsoever resulting from  loss of use, data or  profits,
  75. Xwhether in an action of contract, negligence or other tortious action,
  76. Xarising  out of  or in connection with the  use or performance of this
  77. Xsoftware.
  78. X
  79. END_OF_FILE
  80. if test 1991 -ne `wc -c <'Readme.second'`; then
  81.     echo shar: \"'Readme.second'\" unpacked with wrong size!
  82. fi
  83. # end of 'Readme.second'
  84. fi
  85. if test -f 'data/cnames.star' -a "${1}" != "-c" ; then 
  86.   echo shar: Will not clobber existing file \"'data/cnames.star'\"
  87. else
  88. echo shar: Extracting \"'data/cnames.star'\" \(2908 characters\)
  89. sed "s/^X//" >'data/cnames.star' <<'END_OF_FILE'
  90. X120000-8200000I         CHAMAELEON
  91. X130000-7400000I         MUSCA
  92. X163000-6900000I         TRIANGULUM AUSTALE
  93. X170000-8100000I         APUS
  94. X210000-7300000I         PAVO
  95. X100000-8500000I         OCTANS
  96. X190000-5500000I         TELESCOPIUM
  97. X213000-5800000I         INNDUS
  98. X003000-6800000I         TUCANA
  99. X020000-8000000I         HYDRUS
  100. X053000-8000000I         MENSA
  101. X080000-7330000I         VOLANS
  102. X130000-5400000I         CENTAURUS
  103. X145000-7000000I         CIRCINUS
  104. X161000-5900000I         NORMA
  105. X173000-6500000I         ARA
  106. X103000-7400000I         CARINA
  107. X105000-5200000I         VELLA
  108. X125800-6300000I         CRUX
  109. X060000-5400000I         PICTOR
  110. X030000-6000000I         HOROLOGIUM
  111. X040000-6600000I         RETICULUM
  112. X052000-6400000I         DORADO
  113. X200000-4430000I         SAGITARIUS
  114. X010000-5600000I         PHOENIX
  115. X230000-5400000I         GRUS
  116. X175800-4430000I         SCORPIUS
  117. X150000-5200000I         LUPUS
  118. X113000-2430000I         CRATER
  119. X123500-2430000I         CORVUS
  120. X153000-2900000I         LIBRA
  121. X204000-2630000I         CAPRICORNUS
  122. X230000-2400000I         AQUARIUS
  123. X222000-3500000I         PISCIS AUSTRINUS
  124. X010000-3830000I         SCULPTOR
  125. X030000-3900000I         FORNAX
  126. X210000-4400000I         MICROSCOPIUM
  127. X102000-4000000I         ANTLIA
  128. X091000-3600000I         PYXIS
  129. X045000-4600000I         CAELUM
  130. X055500-4200000I         COLUMBA
  131. X070000-5000000I         PUPPIS
  132. X190000-4430000I         CORONA AUSTRALIS
  133. X091000-1830000I         HYDRA
  134. X070000-1030000I         MONOCEROS
  135. X070000-3230000I         CANIS MAJOR
  136. X054000-2500000I         LEPUS
  137. X013000-2400000I         CETUS
  138. X180000-1500000I         SERPENS CAUDA
  139. X194500-1100000I         AQUILA
  140. X212000+0300000I         EQUULEUS
  141. X205000+0300000I         DELPHINUS
  142. X194500+2000000I         VULPECULA
  143. X021500-5600000I         ERADINUS
  144. X171000-2330000I         OPHIUCHUS
  145. X185000-1510000I         SCUTUM
  146. X194000+1700000I         SAGITTA
  147. X154000-0300000I         SERPENS CAPUT
  148. X123000-1100000I         VIRGO
  149. X124000+1400000I         COMA BERENICES
  150. X224000+0330000I         PEGASUS
  151. X004000+0300000I         PISCES
  152. X204000+2930000I         CYGNUS
  153. X191600+2600000I         LYRA
  154. X224000+3600000I         LACERTA
  155. X180000+1500000I         HERCULES
  156. X160000+2630000I         CORONA BOREALIS
  157. X144000+0830000I         BOOTES
  158. X132000+3200000I         CANES VENATICI
  159. X104000+3000000I         LEO MINOR
  160. X114000+2900000I         URSA MAJOR
  161. X150000+6600000I         URSA MINOR
  162. X100000+0700000I         LEO
  163. X103000-1100000I         SEXTANS
  164. X173000+5100000I         DRACO
  165. X215200+5725000I         CEPHEUS
  166. X075500+0030000I         CANIS MINOR
  167. X085000+0700000I         CANCER
  168. X010000+4900000I         CASSIOPEIA
  169. X070000+1200000I         GEMINI
  170. X084000+3400000I         LYNX
  171. X025000+1130000I         ARIES
  172. X043000+5330000I         CAMELOPARDALIS 
  173. X005000+2200000I         ANDROMEDA 
  174. X022000+2820000I         TRIANGULUM
  175. X054000-1010000I         ORION
  176. X041000+0130000I         TAURUS
  177. X033000+3130000I         PERSEUS
  178. X060000+2900000I         AURIGA
  179. END_OF_FILE
  180. if test 2908 -ne `wc -c <'data/cnames.star'`; then
  181.     echo shar: \"'data/cnames.star'\" unpacked with wrong size!
  182. fi
  183. # end of 'data/cnames.star'
  184. fi
  185. if test -f 'dataconv/Makefile' -a "${1}" != "-c" ; then 
  186.   echo shar: Will not clobber existing file \"'dataconv/Makefile'\"
  187. else
  188. echo shar: Extracting \"'dataconv/Makefile'\" \(1622 characters\)
  189. sed "s/^X//" >'dataconv/Makefile' <<'END_OF_FILE'
  190. X#    Makefile for dataconv programs
  191. X#
  192. X#    $Header: Makefile,v 2.4 90/02/23 03:14:09 ccount Exp $
  193. X#
  194. X#
  195. X# Copyright (c) 1990 by Craig Counterman. All rights reserved.
  196. X#
  197. X# This software may be redistributed freely, not sold.
  198. X# This copyright notice and disclaimer of warranty must remain
  199. X#    unchanged. 
  200. X#
  201. X# No representation is made about the suitability of this
  202. X# software for any purpose.  It is provided "as is" without express or
  203. X# implied warranty, to the extent permitted by applicable law.
  204. X#
  205. X# DISCLAIMER OF WARRANTY
  206. X# ----------------------
  207. X# The author  disclaims all warranties  with regard to  this software to
  208. X# the   extent  permitted  by applicable   law,  including all   implied
  209. X# warranties  of merchantability  and  fitness. In  no event shall   the
  210. X# author be liable for any special, indirect or consequential damages or
  211. X# any  damages whatsoever resulting from  loss of use, data or  profits,
  212. X# whether in an action of contract, negligence or other tortious action,
  213. X# arising  out of  or in connection with the  use or performance of this
  214. X# software.
  215. X#
  216. X# 
  217. X#
  218. X#
  219. X
  220. XSRCS=dataconv.c tosize.c sif_to_text.c
  221. XHDRS=
  222. XOBJS=dataconv.o tosize.o sif_to_text.o
  223. XFILES=Makefile ${SRCS} ${HDRS} Dataconv.MSC README tosize.perl
  224. XTARGS=dataconv tosize sif_to_text
  225. X
  226. XCFLAGS=-O
  227. XLDFLAGS=-lm
  228. X
  229. X
  230. XDISTDIR=../../dist/dataconv
  231. X
  232. Xall: dataconv tosize sif_to_text
  233. X
  234. X
  235. Xdataconv: dataconv.o
  236. X    ${CC} ${CFLAGS} -o $@ dataconv.o ${LDFLAGS}
  237. X
  238. Xtosize: tosize.o
  239. X    ${CC} ${CFLAGS} -o $@ tosize.o ${LDFLAGS}
  240. X
  241. Xsif_to_text: sif_to_text.o
  242. X    ${CC} ${CFLAGS} -o $@ sif_to_text.o ${LDFLAGS}
  243. X
  244. Xdist:
  245. X    cp ${FILES} ${DISTDIR}
  246. X
  247. Xclean:
  248. X    rm -f ${OBJS} ${TARGS} a.out core
  249. END_OF_FILE
  250. if test 1622 -ne `wc -c <'dataconv/Makefile'`; then
  251.     echo shar: \"'dataconv/Makefile'\" unpacked with wrong size!
  252. fi
  253. # end of 'dataconv/Makefile'
  254. fi
  255. if test -f 'dataconv/tosize.c' -a "${1}" != "-c" ; then 
  256.   echo shar: Will not clobber existing file \"'dataconv/tosize.c'\"
  257. else
  258. echo shar: Extracting \"'dataconv/tosize.c'\" \(2802 characters\)
  259. sed "s/^X//" >'dataconv/tosize.c' <<'END_OF_FILE'
  260. X/*
  261. X * tosize -- convert object size to two character size code
  262. X *           for use in starchart databases.
  263. X *
  264. X * Copyright (c) 1990 by Craig Counterman. All rights reserved.
  265. X *
  266. X * This software may be redistributed freely, not sold.
  267. X * This copyright notice and disclaimer of warranty must remain
  268. X *    unchanged. 
  269. X *
  270. X * No representation is made about the suitability of this
  271. X * software for any purpose.  It is provided "as is" without express or
  272. X * implied warranty, to the extent permitted by applicable law.
  273. X *
  274. X * DISCLAIMER OF WARRANTY
  275. X * ----------------------
  276. X * The author  disclaims all warranties  with regard to  this software to
  277. X * the   extent  permitted  by applicable   law,  including all   implied
  278. X * warranties  of merchantability  and  fitness. In  no event shall   the
  279. X * author be liable for any special, indirect or consequential damages or
  280. X * any  damages whatsoever resulting from  loss of use, data or  profits,
  281. X * whether in an action of contract, negligence or other tortious action,
  282. X * arising  out of  or in connection with the  use or performance of this
  283. X * software.
  284. X *
  285. X */
  286. X
  287. Xstatic char rcsid[]="$Header: tosize.c,v 2.3 90/02/19 16:59:39 ccount Exp $";
  288. X
  289. X
  290. X
  291. X#include <stdio.h>
  292. X#include <math.h>
  293. X#include <ctype.h>
  294. X
  295. Xchar *usage =
  296. X"%s: [-[d][m][s]] size [size ...]\n";
  297. X
  298. Xmain(argc, argv)
  299. X     int argc;
  300. X     char *argv[];
  301. X{
  302. X  int i, j, nszs;
  303. X  double sze, sdbl;
  304. X  double cfact[3];
  305. X  int scan_ret;
  306. X  char *tosizestr();
  307. X
  308. X  cfact[0] = 1.0;
  309. X  cfact[1] = 1.0;
  310. X  cfact[2] = 1.0;
  311. X
  312. X  j = 1;
  313. X  nszs = 1;
  314. X
  315. X  if (argv[1][0] == '-') {
  316. X    i = 1;
  317. X    j++;
  318. X    while (argv[1][i]) {
  319. X      switch (argv[1][i]) {
  320. X      case 'd':
  321. X    cfact[i-1] = 3600.0;
  322. X    break;
  323. X      case 'm':
  324. X    cfact[i-1] = 60.0;
  325. X    break;
  326. X      case 's':
  327. X    break;
  328. X      default:
  329. X    fprintf(stderr, usage, argv[0]);
  330. X    exit(1);
  331. X    break;
  332. X      }
  333. X      i++;
  334. X    }
  335. X    nszs = i - 1;
  336. X  }
  337. X
  338. X  while (j < argc) {
  339. X    for (i = 0, sze = 0.0; i < nszs; i++)
  340. X      sze += atof(argv[j + i])*cfact[i];
  341. X    printf("%s\n", tosizestr(sze));
  342. X    j += nszs;
  343. X  }
  344. X
  345. X  scan_ret = 0;
  346. X  while (scan_ret != EOF) {
  347. X    for (i = 0, sze = 0.0; i < nszs; i++) {
  348. X      scan_ret = scanf("%lf", &sdbl);
  349. X      sze += sdbl*cfact[i];
  350. X    }
  351. X    if (scan_ret != EOF)
  352. X      printf("%s\n", tosizestr(sze));
  353. X  }
  354. X}
  355. X
  356. Xchar retsize[3];
  357. X
  358. Xchar *tosizestr(sze)
  359. Xdouble sze;
  360. X{
  361. X  if (sze < 99.5) sprintf(retsize, "%2d",(int) (sze + 0.5));
  362. X  else if (sze < 995.0) {
  363. X    sprintf(retsize, "%2d",(int) ((sze + 5.0)/10.0));
  364. X    retsize[0] = 'A' + retsize[0] - '0' - 1;
  365. X  }  else if (sze < 9950.0) {
  366. X    sprintf(retsize, "%2d",(int) ((sze + 50.0)/100.0));
  367. X    retsize[0] = 'J' + retsize[0] - '0' - 1;
  368. X  }  else if (sze < 89500.0) {
  369. X    sprintf(retsize, "%2d",(int) ((sze + 500.0)/1000.0));
  370. X    retsize[0] = 'S' + retsize[0] - '0' - 1;
  371. X  } else sprintf(retsize , "Z9");
  372. X
  373. X  return retsize;
  374. X}
  375. END_OF_FILE
  376. if test 2802 -ne `wc -c <'dataconv/tosize.c'`; then
  377.     echo shar: \"'dataconv/tosize.c'\" unpacked with wrong size!
  378. fi
  379. # end of 'dataconv/tosize.c'
  380. fi
  381. if test -f 'dataconv/tosize.perl' -a "${1}" != "-c" ; then 
  382.   echo shar: Will not clobber existing file \"'dataconv/tosize.perl'\"
  383. else
  384. echo shar: Extracting \"'dataconv/tosize.perl'\" \(2375 characters\)
  385. sed "s/^X//" >'dataconv/tosize.perl' <<'END_OF_FILE'
  386. X
  387. X# perl is language/program by Larry Wall, posted to comp.sources.unix
  388. X# and available from several archives.
  389. X
  390. X#
  391. X# 1) emulate tosize C program if only -d -s -m and/or numerical
  392. X#     arguments are given.
  393. X# 2) if one file is given, it's sif, and if the tosize field is
  394. X#     numeric, convert and replace with the encoded string.
  395. X# 3) if two files are given, the first is sif and the second contains
  396. X#     sizes.
  397. X#
  398. X# sizes are in seconds of arc by default, or minutes or degrees if m or d is
  399. X# appended.  e.g. '1.2m' is 1.2 minutes = 72 seconds, '3.4d' = 12240 seconds.
  400. X#
  401. X
  402. X$alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  403. X$, = ' ';
  404. X$\ = "\n";
  405. X
  406. X$sepchar = ';';
  407. X$multiplier = 1;
  408. Xfor (@ARGV) {
  409. X    if (-r) {push(@filenames, $_);}
  410. X    elsif (/^-d$/) {$multiplier = 3600;}
  411. X    elsif (/^-m$/) {$multiplier = 60;}
  412. X    elsif (/^-s$/) {$multiplier = 1;}
  413. X    elsif (/^sepchar=/) {
  414. X        @schar = /^sepchar=(.)/;
  415. X        $sepchar = @schar[0];}
  416. X    else {print &tosze($_*$multiplier);}
  417. X}
  418. X#print $#filenames;
  419. X
  420. X
  421. X
  422. Xif ($#filenames > 1) {
  423. X    die "$0: [sif.file [sizefile]]\nExit ";
  424. X} elsif ($#filenames == 1) {
  425. X    open(SIF, @filenames[0])
  426. X        || die "Error, couldn't open sif file @filenames[0]:$!";
  427. X    open(SIZEF, @filenames[1])
  428. X        || die "Error, couldn't open size file @filenames[1]:$!";
  429. X    $, = $sepchar;
  430. X    while (<SIF>) {
  431. X        chop;
  432. X        @Flds = split(/$sepchar/);
  433. X        $sstr = <SIZEF>;
  434. X        $sze = &tosze($sstr);
  435. X        @Flds[5] = $sze;
  436. X        print @Flds;
  437. X    }
  438. X} elsif ($#filenames == 0) {
  439. X    open(SIF, @filenames[0])
  440. X        || die "Error, couldn't open @filenames[0]:$!";
  441. X    $, = $sepchar;
  442. X    while (<SIF>) {
  443. X        chop;
  444. X        @Flds = split(/$sepchar/);
  445. X        @Flds[5] = &tosze(@Flds[5])
  446. X                unless (@Flds[5] =~ /^[A-Z][0-9]$/);
  447. X        print @Flds;
  448. X    }
  449. X} else {
  450. X    while (<STDIN>) {
  451. X        print &tosze($_);
  452. X    }
  453. X}
  454. X
  455. X
  456. Xsub tosze {
  457. Xlocal($szestr) = @_[0];
  458. X$_ = $szestr;
  459. X($sze, $magchar) = /([0-9.]*)([dms]*)$/;
  460. Xif ($magchar eq 'd') { $sze *= 3600.0;}
  461. Xelsif ($magchar eq 'm') { $sze *= 60.0;}
  462. X
  463. Xif ($sze < 99.5) {
  464. X    $sst = sprintf("%2d", $sze);
  465. X} elsif ($sze < 995.0) {
  466. X    $sst = sprintf("%2d", (($sze + 5.0)/10.0));
  467. X    substr($sst,0,1) = substr($alphabet, (($sze+5)/100.0)-1, 1);
  468. X} elsif ($sze < 9950.0) {
  469. X    $sst = sprintf("%2d", (($sze + 50.0)/100.0));
  470. X    substr($sst,0,1) = substr($alphabet, (($sze+50)/1000.0)+8, 1);
  471. X  } elsif ($sze < 89500.0) {
  472. X    $sst = sprintf("%2d", (($sze + 500.0)/1000.0));
  473. X    substr($sst,0,1) = substr($alphabet, (($sze+500)/10000.0)+17, 1);
  474. X  } else {$sst = 'Z9';}
  475. X
  476. X  return $sst;
  477. X}
  478. END_OF_FILE
  479. if test 2375 -ne `wc -c <'dataconv/tosize.perl'`; then
  480.     echo shar: \"'dataconv/tosize.perl'\" unpacked with wrong size!
  481. fi
  482. # end of 'dataconv/tosize.perl'
  483. fi
  484. if test -f 'doc/README' -a "${1}" != "-c" ; then 
  485.   echo shar: Will not clobber existing file \"'doc/README'\"
  486. else
  487. echo shar: Extracting \"'doc/README'\" \(2002 characters\)
  488. sed "s/^X//" >'doc/README' <<'END_OF_FILE'
  489. XThis directory contains documentation for astronomy programs:
  490. X
  491. XAll files ending in ".1" are man pages for the corresponding programs.
  492. X"starchart.1"  contains general  information   about  all  the   star*
  493. Xprograms.  "starX11.1"   is   the man page  for   starX11 and starXaw,
  494. X"staribm.1" is  for the IBM PC  version, and  "starpost.1"  is the man
  495. Xpage  for starpost, but these man  pages each contain only the special
  496. Xfeatures  of  the program; the   rest of   the information  is  in the
  497. X"starchart.1" man page.
  498. X
  499. XThe other files   are various forms  of  (the first  version  of)   an
  500. Xextensive documentation set.  The key  file is  "astro.texinfo", which
  501. Xis in GNU Emacs texinfo format.  This file may be formatted using TeX:
  502. Xsee the GNU Emacs distribution for details.  I have already run TeX on
  503. Xthis file, the .dvi  file  is "astro.dvi".   I   then used a  "dvi2ps"
  504. Xprogram to    generate   the "astro.PS" file.    These   files are  in
  505. X../doc-formatted.  This directory is not in the mailable shar files or
  506. Xthe comp.sources.misc distribution.
  507. X
  508. XThe texinfo file  has  also been (automatically) processed  into *roff
  509. Xform, producing the  "astro.ms"   file which uses   -ms   macros.  The
  510. Xnroffed output from this file is in "astro.cat" in ../doc-formatted.
  511. X
  512. XThe texinfo file is also to be used  from within GNU Emacs.  The Emacs
  513. XInfo format file is provided  as the file "astro" in ../doc-formatted.
  514. XThe  Emacs lisp file "astroinfo.el" is  provided to facilitate  use of
  515. Xthis file.  The command:
  516. X
  517. Xemacs -l astroinfo.el
  518. X
  519. Xstarts emacs  in info mode   with the file loaded  and  ready   to  be
  520. Xbrowsed.  You may want to edit the "astroinfo.el" file to use the full
  521. Xpath name of the "astro" file.
  522. X
  523. XYou probably only need  the "astro.PS" file, if you  have a PostScript
  524. Xprinter; "astro.dvi" if you have TeX  and a non-PostScript printer; or
  525. X"astro.ms" or "astro.cat" files, if you don't.  If you have GNU Emacs,
  526. Xyou may find the  "astro" file useful.  Feel   free to delete all  the
  527. Xfiles you don't need.
  528. END_OF_FILE
  529. if test 2002 -ne `wc -c <'doc/README'`; then
  530.     echo shar: \"'doc/README'\" unpacked with wrong size!
  531. fi
  532. # end of 'doc/README'
  533. fi
  534. if test -f 'observe/Makefile' -a "${1}" != "-c" ; then 
  535.   echo shar: Will not clobber existing file \"'observe/Makefile'\"
  536. else
  537. echo shar: Extracting \"'observe/Makefile'\" \(2454 characters\)
  538. sed "s/^X//" >'observe/Makefile' <<'END_OF_FILE'
  539. X#    Makefile for observe
  540. X# $Header: Makefile,v 1.8 90/02/23 00:17:21 ccount Exp $
  541. X#
  542. X#
  543. X# Copyright (c) 1990 by Craig Counterman. All rights reserved.
  544. X#
  545. X# This software may be redistributed freely, not sold.
  546. X# This copyright notice and disclaimer of warranty must remain
  547. X#    unchanged. 
  548. X#
  549. X# No representation is made about the suitability of this
  550. X# software for any purpose.  It is provided "as is" without express or
  551. X# implied warranty, to the extent permitted by applicable law.
  552. X#
  553. X# DISCLAIMER OF WARRANTY
  554. X# ----------------------
  555. X# The author  disclaims all warranties  with regard to  this software to
  556. X# the   extent  permitted  by applicable   law,  including all   implied
  557. X# warranties  of merchantability  and  fitness. In  no event shall   the
  558. X# author be liable for any special, indirect or consequential damages or
  559. X# any  damages whatsoever resulting from  loss of use, data or  profits,
  560. X# whether in an action of contract, negligence or other tortious action,
  561. X# arising  out of  or in connection with the  use or performance of this
  562. X# software.
  563. X#
  564. XSRCS= astlib.c datelib.c eventcalc.c main.c mooncalc.c objcalc.c \
  565. X    orbcalc.c outeph.c outaltaz.c outobs.c outsat.c outsif.c planetcalc.c \
  566. X    riseset.c satcalc.c sortlib.c suncalc.c tablecalc.c
  567. XHDRS= date.h degree.h observe.h
  568. XOBJS= astlib.o datelib.o eventcalc.o main.o mooncalc.o objcalc.o orbcalc.o \
  569. X    outeph.o outaltaz.o outobs.o outsat.o outsif.o planetcalc.o \
  570. X    riseset.o satcalc.o sortlib.o suncalc.o tablecalc.o 
  571. XFILES=Makefile ${SRCS} ${HDRS} README descrip.mms Observe.MSC Astring.h
  572. XTARGS=observe
  573. X
  574. X
  575. X#You may want to -DMAXOBJECTS=500 or fewer.
  576. X#CFLAGS=-g -DMAXOBJECTS=500
  577. XCFLAGS=-g
  578. XLDFLAGS=-lm
  579. X#For atari:
  580. X#CFLAGS=-VCSD -f  -DDEBUG -DSYSV -DATARI_ST -I.
  581. X#CFLAGS=-VCSD -f -DSYSV -DATARI_ST -I.
  582. X#CFLAGS= -VCSD -O -VPEEP -f -DSYSV -DATARI_ST -I.
  583. X#You may also need to replace {} with ()
  584. X
  585. XDISTDIR=../../dist/observe
  586. X
  587. Xall: observe
  588. X
  589. X
  590. Xobserve: ${OBJS}
  591. X    ${CC} ${CFLAGS} ${OBJS} -o observe -lm
  592. X
  593. Xdist:
  594. X    cp ${FILES} ${DISTDIR}
  595. X
  596. Xclean:
  597. X    -/bin/rm ${OBJS} observe
  598. X
  599. Xastlib.o: degree.h
  600. Xdatelib.o: date.h 
  601. Xeventcalc.o: observe.h degree.h
  602. Xmain.o: observe.h date.h
  603. Xmooncalc.o: observe.h degree.h
  604. Xobjcalc.o: observe.h degree.h
  605. Xorbcalc.o: observe.h degree.h
  606. Xouteph.o: observe.h
  607. Xoutaltaz.o: observe.h
  608. Xoutobs.o: observe.h
  609. Xoutsat.o: observe.h
  610. Xoutsif.o: observe.h
  611. Xplanetcalc.o: observe.h degree.h
  612. Xriseset.o: observe.h degree.h
  613. Xsatcalc.o: observe.h degree.h
  614. Xsuncalc.o: observe.h degree.h
  615. Xtablecalc.o: observe.h date.h
  616. END_OF_FILE
  617. if test 2454 -ne `wc -c <'observe/Makefile'`; then
  618.     echo shar: \"'observe/Makefile'\" unpacked with wrong size!
  619. fi
  620. # end of 'observe/Makefile'
  621. fi
  622. if test -f 'observe/descrip.mms' -a "${1}" != "-c" ; then 
  623.   echo shar: Will not clobber existing file \"'observe/descrip.mms'\"
  624. else
  625. echo shar: Extracting \"'observe/descrip.mms'\" \(1697 characters\)
  626. sed "s/^X//" >'observe/descrip.mms' <<'END_OF_FILE'
  627. X###########################################################################
  628. X#
  629. X#    VMS 'makefile' for OBSERVE.  Type MMS to use.
  630. X#        by Michael Campanella (campanella@cvg.enet.dec.com)
  631. X#
  632. X###########################################################################
  633. X#    Makefile for observe
  634. X# $Header: descrip.mms,v 1.3 90/01/13 14:47:18 ccount Exp $
  635. X#
  636. XSRCS= astlib.c datelib.c eventcalc.c main.c mooncalc.c objcalc.c \
  637. X    orbcalc.c outeph.c outaltaz.c outobs.c outsat.c outsif.c planetcalc.c \
  638. X    riseset.c satcalc.c sortlib.c suncalc.c tablecalc.c
  639. XHDRS= date.h degree.h observe.h
  640. XOBJS= astlib.OBJ datelib.OBJ eventcalc.OBJ main.OBJ mooncalc.OBJ objcalc.OBJ orbcalc.OBJ \
  641. X    outeph.OBJ outaltaz.OBJ outobs.OBJ outsat.OBJ outsif.OBJ planetcalc.OBJ riseset.OBJ satcalc.OBJ \
  642. X    sortlib.OBJ suncalc.OBJ tablecalc.OBJ 
  643. XFILES=Makefile ${SRCS} ${HDRS} descrip.mms Observe.MSC
  644. XTARGS=observe.exe
  645. X
  646. X#CFLAGS=-g
  647. XCFLAGS = /list/define=(SYSV,"index=strchr")
  648. XLDFLAGS=-lm
  649. X
  650. XDISTDIR=../../dist/observe
  651. X
  652. X.first
  653. X    pu/keep=3/nolog
  654. X    define sys sys$library
  655. X
  656. X.last
  657. X    pu/nolog
  658. X
  659. Xall : observe.exe
  660. X    ! Done !
  661. X
  662. Xobserve.exe : $(OBJS)
  663. X    $ define/user lnk$library sys$library:vaxcrtl.olb
  664. X    $ link/trace/exe=$(mms$target) $(mms$source_list)
  665. X#    ${CC} ${CFLAGS} ${OBJS} -o observe -lm
  666. X
  667. Xastlib.OBJ : degree.h
  668. Xdatelib.OBJ : date.h 
  669. Xeventcalc.OBJ : observe.h degree.h
  670. Xmain.OBJ : observe.h date.h
  671. Xmooncalc.OBJ : observe.h degree.h
  672. Xobjcalc.OBJ : observe.h degree.h
  673. Xorbcalc.OBJ : observe.h degree.h
  674. Xouteph.OBJ : observe.h
  675. Xoutobs.OBJ : observe.h
  676. Xoutsat.OBJ : observe.h
  677. Xoutsif.OBJ : observe.h
  678. Xplanetcalc.OBJ : observe.h degree.h
  679. Xriseset.OBJ : observe.h degree.h
  680. Xsatcalc.OBJ : observe.h degree.h
  681. Xsuncalc.OBJ : observe.h degree.h
  682. Xtablecalc.OBJ : observe.h date.h
  683. END_OF_FILE
  684. if test 1697 -ne `wc -c <'observe/descrip.mms'`; then
  685.     echo shar: \"'observe/descrip.mms'\" unpacked with wrong size!
  686. fi
  687. # end of 'observe/descrip.mms'
  688. fi
  689. if test -f 'observe/eventcalc.c' -a "${1}" != "-c" ; then 
  690.   echo shar: Will not clobber existing file \"'observe/eventcalc.c'\"
  691. else
  692. echo shar: Extracting \"'observe/eventcalc.c'\" \(2700 characters\)
  693. sed "s/^X//" >'observe/eventcalc.c' <<'END_OF_FILE'
  694. X/*
  695. X * eventcalc.c
  696. X * calculate rise, set, and transit times for event structure for observability
  697. X *
  698. X * Copyright (c) 1990 by Craig Counterman. All rights reserved.
  699. X *
  700. X * This software may be redistributed freely, not sold.
  701. X * This copyright notice and disclaimer of warranty must remain
  702. X *    unchanged. 
  703. X *
  704. X * No representation is made about the suitability of this
  705. X * software for any purpose.  It is provided "as is" without express or
  706. X * implied warranty, to the extent permitted by applicable law.
  707. X *
  708. X */
  709. X
  710. X
  711. X#ifndef  lint
  712. Xstatic char rcsid[] =
  713. X  "$Header: eventcalc.c,v 1.4 90/02/19 17:20:21 ccount Exp $";
  714. X#endif
  715. X
  716. X
  717. X#include <stdio.h>
  718. X#include <math.h>
  719. X#include "observe.h"
  720. X#include "degree.h"
  721. X
  722. X#ifndef FALSE
  723. X#define FALSE 0
  724. X#endif
  725. X#ifndef TRUE
  726. X#define TRUE 1
  727. X#endif
  728. X
  729. X
  730. Xvoid calc_events(eventlist, rise_hour, transit_hour, set_hour, jd,
  731. X         obs_lon, obs_lat, obs_zone, obs_height, name, alpha, delta)
  732. X     observe_t eventlist[];    /* events: rise, set, etc. */
  733. X     double *rise_hour, *transit_hour, *set_hour;
  734. X     double jd;
  735. X     double obs_lon, obs_lat, obs_zone, obs_height;
  736. X     char *name;
  737. X     double alpha, delta;
  738. X{
  739. X  int i;
  740. X
  741. X  for (i = 0; i < MAXEVENTS; i++) {
  742. X    eventlist[i].special = not_special;
  743. X    eventlist[i].object = name;
  744. X  }
  745. X  *rise_hour = 
  746. X    eventlist[0].hour = objrise(jd, obs_lon, obs_lat, obs_zone, obs_height,
  747. X                alpha, delta);
  748. X  eventlist[0].event = rise;
  749. X  eventlist[1].hour = objrise20(jd, obs_lon, obs_lat, obs_zone, obs_height,
  750. X                alpha, delta);
  751. X  eventlist[1].event = rise_20;
  752. X  eventlist[2].hour = objrise30(jd, obs_lon, obs_lat, obs_zone, obs_height,
  753. X                alpha, delta);
  754. X  eventlist[2].event = rise_30;
  755. X  *transit_hour =
  756. X    eventlist[3].hour = objtransit(jd, obs_lon, obs_lat, obs_zone, obs_height,
  757. X                   alpha, delta);
  758. X  eventlist[3].event = transit;
  759. X  eventlist[4].hour = objset30(jd, obs_lon, obs_lat, obs_zone, obs_height,
  760. X                   alpha, delta);
  761. X  eventlist[4].event = set_30;
  762. X  eventlist[5].hour = objset20(jd, obs_lon, obs_lat, obs_zone, obs_height,
  763. X                   alpha, delta);
  764. X  eventlist[5].event = set_20;
  765. X  *set_hour =
  766. X    eventlist[6].hour = objset(jd, obs_lon, obs_lat, obs_zone, obs_height,
  767. X                 alpha, delta);
  768. X  eventlist[6].event = set;
  769. X}
  770. X
  771. Xvoid add_events(events, nevents_p, eventlist)
  772. X     observe_t events[];    /* events: rise, set, etc. */
  773. X     int *nevents_p;
  774. X     observe_t eventlist[];    /* events: rise, set, etc. */
  775. X{
  776. X  int i;
  777. X
  778. X  for (i = 0;  i < MAXEVENTS; i++)
  779. X   if (eventlist[i].hour >= 0.0) {
  780. X     events[*nevents_p].hour = eventlist[i].hour;
  781. X     events[*nevents_p].object = eventlist[i].object;
  782. X     events[*nevents_p].event = eventlist[i].event;
  783. X     events[*nevents_p].special = eventlist[i].special;
  784. X     *nevents_p += 1;
  785. X   }
  786. X}
  787. END_OF_FILE
  788. if test 2700 -ne `wc -c <'observe/eventcalc.c'`; then
  789.     echo shar: \"'observe/eventcalc.c'\" unpacked with wrong size!
  790. fi
  791. # end of 'observe/eventcalc.c'
  792. fi
  793. if test -f 'observe/outobs.c' -a "${1}" != "-c" ; then 
  794.   echo shar: Will not clobber existing file \"'observe/outobs.c'\"
  795. else
  796. echo shar: Extracting \"'observe/outobs.c'\" \(2677 characters\)
  797. sed "s/^X//" >'observe/outobs.c' <<'END_OF_FILE'
  798. X/*
  799. X * outobs.c
  800. X * Output observability file for object(s)
  801. X *
  802. X * Copyright (c) 1990 by Craig Counterman. All rights reserved.
  803. X *
  804. X * This software may be redistributed freely, not sold.
  805. X * This copyright notice and disclaimer of warranty must remain
  806. X *    unchanged. 
  807. X *
  808. X * No representation is made about the suitability of this
  809. X * software for any purpose.  It is provided "as is" without express or
  810. X * implied warranty, to the extent permitted by applicable law.
  811. X *
  812. X */
  813. X
  814. X#ifndef  lint
  815. Xstatic char rcsid[] =
  816. X  "$Header: outobs.c,v 1.9 90/02/23 00:17:00 ccount Exp $";
  817. X#endif
  818. X
  819. X
  820. X#include <stdio.h>
  821. X#include "observe.h"
  822. X#include "date.h"
  823. X
  824. Xstatic char *ret_timeformat();
  825. Xstatic char *ret_eventformat();
  826. X
  827. X/* Output observability file for object(s) */
  828. Xvoid out_obs(outf, one_day, jd, events, index, nevents)
  829. X     FILE *outf;
  830. X     int one_day;        /* only doing one day */
  831. X     double jd;
  832. X     observe_t events[];    /* The events */
  833. X     int index[];        /* sorted into order */
  834. X     int nevents;
  835. X{
  836. X  int i;
  837. X  char datestr[15];
  838. X  char *special_cp;
  839. X
  840. X  jd_to_str(jd, datestr);
  841. X  if (!one_day) fprintf(outf, "%s %.3f\n", datestr, jd);
  842. X  for (i = 0; i < nevents; i++) {
  843. X    switch (events[index[i]].special) {
  844. X    case rise_special:
  845. X      special_cp = "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^";
  846. X      break;
  847. X    case morning_twilight:
  848. X      special_cp = "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^";
  849. X      break;
  850. X    case set_special:
  851. X      special_cp = "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv";
  852. X      break;
  853. X    case evening_twilight:
  854. X      special_cp = "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv";
  855. X      break;
  856. X    default:
  857. X      special_cp = "";
  858. X      break;
  859. X    };
  860. X
  861. X    fprintf(outf,
  862. X        "%-20.20s %8s %8s %s\n",
  863. X        events[index[i]].object, ret_timeformat(events[index[i]].hour),
  864. X        ret_eventformat(events[index[i]].event), special_cp);
  865. X  };
  866. X  if (!one_day) fprintf(outf, "\f\n");
  867. X}
  868. X
  869. Xstatic char *ret_timeformat(time)
  870. X     double time;        /* Hours */
  871. X{
  872. X  static char timestring[8];
  873. X  int hrs, mins;
  874. X
  875. X  if (time < 0.0) return ("-----");
  876. X
  877. X  hrs = time;
  878. X  mins = (time-hrs)*60.0 + 0.5;
  879. X  if (mins == 60)
  880. X    {
  881. X      hrs = (hrs == 23) ? 0 :(hrs+1);
  882. X      mins = 0;
  883. X    }
  884. X  sprintf(timestring, "%02d:%02d", hrs, mins);
  885. X
  886. X  return timestring;
  887. X}
  888. X
  889. Xstatic char *ret_eventformat(event)
  890. X     event_t event;
  891. X{
  892. X  switch (event) {
  893. X  case rise:
  894. X    return "rise    ";
  895. X    break;
  896. X
  897. X  case rise_20:
  898. X    return "above 20";
  899. X    break;
  900. X    
  901. X  case rise_30:
  902. X    return "above 30";
  903. X    break;
  904. X    
  905. X  case set:
  906. X    return "set     ";
  907. X    break;
  908. X
  909. X  case set_20:
  910. X    return "below 20";
  911. X    break;
  912. X
  913. X  case set_30:
  914. X    return "below 30";
  915. X    break;
  916. X
  917. X  case transit:
  918. X    return "transit ";
  919. X    break;
  920. X
  921. X  default:
  922. X    return "        ";
  923. X    break;
  924. X  };
  925. X}
  926. X
  927. END_OF_FILE
  928. if test 2677 -ne `wc -c <'observe/outobs.c'`; then
  929.     echo shar: \"'observe/outobs.c'\" unpacked with wrong size!
  930. fi
  931. # end of 'observe/outobs.c'
  932. fi
  933. if test -f 'observe/sortlib.c' -a "${1}" != "-c" ; then 
  934.   echo shar: Will not clobber existing file \"'observe/sortlib.c'\"
  935. else
  936. echo shar: Extracting \"'observe/sortlib.c'\" \(2727 characters\)
  937. sed "s/^X//" >'observe/sortlib.c' <<'END_OF_FILE'
  938. X/*
  939. X * sortlib.c
  940. X * sorting subroutines
  941. X *
  942. X * Copyright (c) 1990 by Craig Counterman. All rights reserved.
  943. X *
  944. X * This software may be redistributed freely, not sold.
  945. X * This copyright notice and disclaimer of warranty must remain
  946. X *    unchanged. 
  947. X *
  948. X * No representation is made about the suitability of this
  949. X * software for any purpose.  It is provided "as is" without express or
  950. X * implied warranty, to the extent permitted by applicable law.
  951. X *
  952. X */
  953. X
  954. X#ifndef  lint
  955. Xstatic char rcsid[] =
  956. X  "$Header: sortlib.c,v 1.5 90/02/19 17:21:43 ccount Exp $";
  957. X#endif
  958. X
  959. X
  960. X#include <math.h>
  961. X
  962. X#ifndef FALSE
  963. X#define FALSE 0
  964. X#endif
  965. X#ifndef TRUE
  966. X#define TRUE 1
  967. X#endif
  968. X
  969. Xvoid HeapSort();
  970. X
  971. Xvoid HeapSort0(darray, iarray, n)
  972. X     double darray[];
  973. X     int iarray[];
  974. X     int n;
  975. X{
  976. X
  977. X  darray--; /* make darray[0] look like darray[1] */
  978. X  iarray--; /* make iarray[0] look like iarray[1] */
  979. X  HeapSort(darray, iarray, n);
  980. X}
  981. X
  982. X
  983. X/* Heap sort algorithm
  984. X   Sorts a double array darray of length n into ascending numerical order,
  985. X   indexed by iarray */
  986. X
  987. Xvoid HeapSort(darray, iarray, n)
  988. X     double darray[];
  989. X     int iarray[];
  990. X     int n;
  991. X{
  992. X  int i, j;
  993. X  int l, ir, indxt;
  994. X  double q;
  995. X
  996. X
  997. X
  998. X                /* Initialize the index array */
  999. X  for (i = 1; i <= n; i++)
  1000. X    iarray[i] = i;
  1001. X
  1002. X  l = n/2 + 1;
  1003. X  ir = n;
  1004. X  /* The index l will be decremented from its initial value down to 1 during
  1005. X     the hiring (heap creation) phase.  Once it reaches 1, the index ir will
  1006. X     be decremented from its initial value down to 1 during the
  1007. X     "retirement-and-promotion" (heap selection) phase.
  1008. X  */
  1009. X
  1010. X  while(TRUE) {                /* Will exit with a return; */
  1011. X    if (l > 1) {            /* Still in hiring phase. */
  1012. X      l--;
  1013. X      indxt = iarray[l];
  1014. X      q = darray[indxt];
  1015. X    } else {                /* In retirement and promotion phase */
  1016. X      indxt = iarray[ir];
  1017. X      q = darray[indxt];        /* Clear a space at the top of the array */
  1018. X      iarray[ir] = iarray[1];        /* Retire the top of the heap into it */
  1019. X      ir--;                /* Decrease the size of the corporation */
  1020. X      if (ir == 1) {            /* Done with last promotion */
  1021. X    iarray[1] = indxt;        /* The least competent worker of all! */
  1022. X    for (i = 1; i <= n; i++)    /* Reset iarray for C offset */
  1023. X      iarray[i]--;
  1024. X    return;                /* Done */
  1025. X      }
  1026. X    }
  1027. X    i = l;                /* Here set up to sift down element q */
  1028. X    j = l+l;
  1029. X    while (j <= ir) {
  1030. X      if (j < ir)            /* Compare to better underling */
  1031. X    if (darray[iarray[j]] < darray[iarray[j+1]]) j++;
  1032. X
  1033. X      if (q < darray[iarray[j]]) {  /* Demote q */
  1034. X    iarray[i] = iarray[j];
  1035. X    i = j;
  1036. X    j = j+j;
  1037. X      } else {
  1038. X    j = ir+1;            /* This is q's level, set j to terminate */
  1039. X      }                    /*   sift down */
  1040. X    }
  1041. X    iarray[i] = indxt;            /* Put q in its slot */
  1042. X  }
  1043. X}
  1044. X
  1045. X
  1046. X
  1047. END_OF_FILE
  1048. if test 2727 -ne `wc -c <'observe/sortlib.c'`; then
  1049.     echo shar: \"'observe/sortlib.c'\" unpacked with wrong size!
  1050. fi
  1051. # end of 'observe/sortlib.c'
  1052. fi
  1053. if test -f 'samples/asteroids.ell_e' -a "${1}" != "-c" ; then 
  1054.   echo shar: Will not clobber existing file \"'samples/asteroids.ell_e'\"
  1055. else
  1056. echo shar: Extracting \"'samples/asteroids.ell_e'\" \(1562 characters\)
  1057. sed "s/^X//" >'samples/asteroids.ell_e' <<'END_OF_FILE'
  1058. XFirst three lines are ignored.   a = q/(1-e), n = 0.985609/(a*sqrt(a)),
  1059. Xif M not given, use M = (Epoch_date - T) * n
  1060. XName i Omega omega a n e M Month day year equinox_year body_type H G
  1061. XCeres        10.607  80.702  71.274 2.7685 0.21396 0.0780 287.265 Oct 1 1989 2000.0 Asteroid 3.32 0.11
  1062. XPallas        34.804 173.323 309.796 2.7703 0.21375 0.2347 273.779 Oct 1 1989 2000.0 Asteroid 4.13 0.15
  1063. XJuno        12.993 170.556 246.744 2.6682 0.22614 0.2580 115.411 Oct 1 1989 2000.0 Asteroid 5.31 0.30
  1064. XVesta         7.139 104.015 150.175 2.3613 0.27163 0.0906  43.314 Oct 1 1989 2000.0 Asteroid 3.16 0.34
  1065. XAstraea         5.357 141.792 356.519 2.5741 0.23865 0.1917 227.749 Oct 1 1989 2000.0 Asteroid 6.91 0.25
  1066. XMetis         5.585  69.112   5.315 2.3865 0.26733 0.1219 270.833 Oct 1 1989 2000.0 Asteroid 6.32 0.29
  1067. XParthenope     4.621 125.703 193.711 2.4520 0.25669 0.0994  29.828 Oct 1 1989 2000.0 Asteroid 6.62 0.27
  1068. XVictoria     8.376 235.863  68.720 2.3340 0.27642 0.2196  29.574 Oct 1 1989 2000.0 Asteroid 7.23 0.24
  1069. XIrene         9.113  86.867  95.052 2.5867 0.23691 0.1661 128.194 Oct 1 1989 2000.0 Asteroid 6.27 0.09
  1070. XEunomia        11.765 293.619  97.591 2.6437 0.22929 0.1849 327.856 Oct 1 1989 2000.0 Asteroid 5.22 0.20
  1071. XPsyche         3.089 150.508 227.581 2.9234 0.19718 0.1335 318.680 Oct 1 1989 2000.0 Asteroid 5.98 0.22
  1072. XLachesis     6.968 341.696 237.604 3.1147 0.17930 0.0645  95.139 Oct 1 1989 2000.0 Asteroid 7.73 0.17
  1073. XPalatia         8.134 127.553 296.023 2.7882 0.21170 0.3050  85.494 Oct 1 1989 2000.0 Asteroid 9.38 0.32
  1074. XPatientia    15.236  89.678 343.267 3.0619 0.18396 0.0709 269.350 Oct 1 1989 2000.0 Asteroid 6.65 0.20
  1075. END_OF_FILE
  1076. if test 1562 -ne `wc -c <'samples/asteroids.ell_e'`; then
  1077.     echo shar: \"'samples/asteroids.ell_e'\" unpacked with wrong size!
  1078. fi
  1079. # end of 'samples/asteroids.ell_e'
  1080. fi
  1081. if test -f 'samples/color.star' -a "${1}" != "-c" ; then 
  1082.   echo shar: Will not clobber existing file \"'samples/color.star'\"
  1083. else
  1084. echo shar: Extracting \"'samples/color.star'\" \(2508 characters\)
  1085. sed "s/^X//" >'samples/color.star' <<'END_OF_FILE'
  1086. X000000+0000-00SSO0
  1087. X000000+0100-10SSO1
  1088. X000000+0200-20SSO2
  1089. X000000+0300-30SSO3
  1090. X000000+0400-40SSO4
  1091. X000000+0500-50SSO5
  1092. X000000+0600-60SSO6
  1093. X000000+0700-70SSO7
  1094. X000000+0800-80SSO8
  1095. X000000+0900-90SSO9
  1096. X001000+0000-00SSB0
  1097. X001000+0100-01SSB1
  1098. X001000+0200-02SSB2
  1099. X001000+0300-03SSB3
  1100. X001000+0400-04SSB4
  1101. X001000+0500-05SSB5
  1102. X001000+0600-06SSB6
  1103. X001000+0700-07SSB7
  1104. X001000+0800-08SSB8
  1105. X001000+0900-09SSB9
  1106. X002000+0000000SSA0
  1107. X002000+0100010SSA1
  1108. X002000+0200020SSA2
  1109. X002000+0300030SSA3
  1110. X002000+0400040SSA4
  1111. X002000+0500050SSA5
  1112. X002000+0600060SSA6
  1113. X002000+0700070SSA7
  1114. X002000+0800080SSA8
  1115. X002000+0900090SSA9
  1116. X003000+0000100SSF0
  1117. X003000+0100110SSF1
  1118. X003000+0200120SSF2
  1119. X003000+0300130SSF3
  1120. X003000+0400140SSF4
  1121. X003000+0500150SSF5
  1122. X003000+0600160SSF6
  1123. X003000+0700170SSF7
  1124. X003000+0800180SSF8
  1125. X003000+0900190SSF9
  1126. X000100+0000-00SDG0
  1127. X000100+0100-10SDG1
  1128. X000100+0200-20SDG2
  1129. X000100+0300-30SDG3
  1130. X000100+0400-40SDG4
  1131. X000100+0500-50SDG5
  1132. X000100+0600-60SDG6
  1133. X000100+0700-70SDG7
  1134. X000100+0800-80SDG8
  1135. X000100+0900-90SDG9
  1136. X001100+0000-00SDK0
  1137. X001100+0100-01SDK1
  1138. X001100+0200-02SDK2
  1139. X001100+0300-03SDK3
  1140. X001100+0400-04SDK4
  1141. X001100+0500-05SDK5
  1142. X001100+0600-06SDK6
  1143. X001100+0700-07SDK7
  1144. X001100+0800-08SDK8
  1145. X001100+0900-09SDK9
  1146. X002100+0000000SDM0
  1147. X002100+0100010SDM1
  1148. X002100+0200020SDM2
  1149. X002100+0300030SDM3
  1150. X002100+0400040SDM4
  1151. X002100+0500050SDM5
  1152. X002100+0600060SDM6
  1153. X002100+0700070SDM7
  1154. X002100+0800080SDM8
  1155. X002100+0900090SDM9
  1156. X003100+0000100SDR0
  1157. X003100+0100110SDR1
  1158. X003100+0200120SDR2
  1159. X003100+0300130SDR3
  1160. X003100+0400140SDR4
  1161. X003100+0500150SDR5
  1162. X003100+0600160SDR6
  1163. X003100+0700170SDR7
  1164. X003100+0800180SDR8
  1165. X003100+0900190SDR9
  1166. X000200+0000-00SVN0
  1167. X000200+0100-10SVN1
  1168. X000200+0200-20SVN2
  1169. X000200+0300-30SVN3
  1170. X000200+0400-40SVN4
  1171. X000200+0500-50SVN5
  1172. X000200+0600-60SVN6
  1173. X000200+0700-70SVN7
  1174. X000200+0800-80SVN8
  1175. X000200+0900-90SVN9
  1176. X001200+0000-00SVS0
  1177. X001200+0100-01SVS1
  1178. X001200+0200-02SVS2
  1179. X001200+0300-03SVS3
  1180. X001200+0400-04SVS4
  1181. X001200+0500-05SVS5
  1182. X001200+0600-06SVS6
  1183. X001200+0700-07SVS7
  1184. X001200+0800-08SVS8
  1185. X001200+0900-09SVS9
  1186. X002200+0000000SSr0
  1187. X002200+0100010SSr3
  1188. X002200+0200020SSr6
  1189. X002200+0300030SSr9
  1190. X002200+0400040SSb0
  1191. X002200+0500050SSb3
  1192. X002200+0600060SSb6
  1193. X002200+0700070SSb9
  1194. X002200+0800080SSg0
  1195. X002200+0900090SSg3
  1196. X003200+0000100SSg6
  1197. X003200+0100110SSg9
  1198. X003200+0200120SSy0
  1199. X003200+0300130SSy3
  1200. X003200+0400140SSy6
  1201. X003200+0500150SSy9
  1202. X003200+0600160SSp0
  1203. X003200+0700170SSp3
  1204. X003200+0800180SSp6
  1205. X003200+0900190SSp9
  1206. X004000+0000100SSc0
  1207. X004000+0100110SSc3
  1208. X004000+0200120SSc6
  1209. X004000+0300130SSc9
  1210. X004200+0000100SSo0
  1211. X004200+0100110SSo3
  1212. X004200+0200120SSo6
  1213. X004200+0300130SSo9
  1214. X004000+0400140SSw0
  1215. X004000+0500150SSw3
  1216. X004000+0600160SSw6
  1217. X004000+0700170SSw9
  1218. END_OF_FILE
  1219. if test 2508 -ne `wc -c <'samples/color.star'`; then
  1220.     echo shar: \"'samples/color.star'\" unpacked with wrong size!
  1221. fi
  1222. # end of 'samples/color.star'
  1223. fi
  1224. if test -f 'samples/test.star6-A' -a "${1}" != "-c" ; then 
  1225.   echo shar: Will not clobber existing file \"'samples/test.star6-A'\"
  1226. else
  1227. echo shar: Extracting \"'samples/test.star6-A'\" \(2550 characters\)
  1228. sed "s/^X//" >'samples/test.star6-A' <<'END_OF_FILE'
  1229. X000000+0000600SS
  1230. X000000+0100610SS
  1231. X000000+0200620SS
  1232. X000000+0300630SS
  1233. X000000+0400640SS
  1234. X000000+0500650SS
  1235. X000000+0600660SS
  1236. X000000+0700670SS
  1237. X000000+0800680SS
  1238. X000000+0900690SS
  1239. X001000+0000700SS
  1240. X001000+0100710SS
  1241. X001000+0200720SS
  1242. X001000+0300730SS
  1243. X001000+0400740SS
  1244. X001000+0500750SS
  1245. X001000+0600760SS
  1246. X001000+0700770SS
  1247. X001000+0800780SS
  1248. X001000+0900790SS
  1249. X002000+0000800SS
  1250. X002000+0100810SS
  1251. X002000+0200820SS
  1252. X002000+0300830SS
  1253. X002000+0400840SS
  1254. X002000+0500850SS
  1255. X002000+0600860SS
  1256. X002000+0700870SS
  1257. X002000+0800880SS
  1258. X002000+0900890SS
  1259. X003000+0000900SS
  1260. X003000+0100910SS
  1261. X003000+0200920SS
  1262. X003000+0300930SS
  1263. X003000+0400940SS
  1264. X003000+0500950SS
  1265. X003000+0600960SS
  1266. X003000+0700970SS
  1267. X003000+0800980SS
  1268. X003000+0900990SS
  1269. X004000+0000A00SS
  1270. X004000+0100A10SS
  1271. X004000+0200A20SS
  1272. X004000+0300A30SS
  1273. X004000+0400A40SS
  1274. X004000+0500A50SS
  1275. X004000+0600A60SS
  1276. X004000+0700A70SS
  1277. X004000+0800A80SS
  1278. X004000+0900A90SS
  1279. X000100+0000600SD
  1280. X000100+0100610SD
  1281. X000100+0200620SD
  1282. X000100+0300630SD
  1283. X000100+0400640SD
  1284. X000100+0500650SD
  1285. X000100+0600660SD
  1286. X000100+0700670SD
  1287. X000100+0800680SD
  1288. X000100+0900690SD
  1289. X001100+0000700SD
  1290. X001100+0100710SD
  1291. X001100+0200720SD
  1292. X001100+0300730SD
  1293. X001100+0400740SD
  1294. X001100+0500750SD
  1295. X001100+0600760SD
  1296. X001100+0700770SD
  1297. X001100+0800780SD
  1298. X001100+0900790SD
  1299. X002100+0000800SD
  1300. X002100+0100810SD
  1301. X002100+0200820SD
  1302. X002100+0300830SD
  1303. X002100+0400840SD
  1304. X002100+0500850SD
  1305. X002100+0600860SD
  1306. X002100+0700870SD
  1307. X002100+0800880SD
  1308. X002100+0900890SD
  1309. X003100+0000900SD
  1310. X003100+0100910SD
  1311. X003100+0200920SD
  1312. X003100+0300930SD
  1313. X003100+0400940SD
  1314. X003100+0500950SD
  1315. X003100+0600960SD
  1316. X003100+0700970SD
  1317. X003100+0800980SD
  1318. X003100+0900990SD
  1319. X004100+0000A00SD
  1320. X004100+0100A10SD
  1321. X004100+0200A20SD
  1322. X004100+0300A30SD
  1323. X004100+0400A40SD
  1324. X004100+0500A50SD
  1325. X004100+0600A60SD
  1326. X004100+0700A70SD
  1327. X004100+0800A80SD
  1328. X004100+0900A90SD
  1329. X000200+0000600SV
  1330. X000200+0100610SV
  1331. X000200+0200620SV
  1332. X000200+0300630SV
  1333. X000200+0400640SV
  1334. X000200+0500650SV
  1335. X000200+0600660SV
  1336. X000200+0700670SV
  1337. X000200+0800680SV
  1338. X000200+0900690SV
  1339. X001200+0000700SV
  1340. X001200+0100710SV
  1341. X001200+0200720SV
  1342. X001200+0300730SV
  1343. X001200+0400740SV
  1344. X001200+0500750SV
  1345. X001200+0600760SV
  1346. X001200+0700770SV
  1347. X001200+0800780SV
  1348. X001200+0900790SV
  1349. X002200+0000800SV
  1350. X002200+0100810SV
  1351. X002200+0200820SV
  1352. X002200+0300830SV
  1353. X002200+0400840SV
  1354. X002200+0500850SV
  1355. X002200+0600860SV
  1356. X002200+0700870SV
  1357. X002200+0800880SV
  1358. X002200+0900890SV
  1359. X003200+0000900SV
  1360. X003200+0100910SV
  1361. X003200+0200920SV
  1362. X003200+0300930SV
  1363. X003200+0400940SV
  1364. X003200+0500950SV
  1365. X003200+0600960SV
  1366. X003200+0700970SV
  1367. X003200+0800980SV
  1368. X003200+0900990SV
  1369. X004200+0000A00SV
  1370. X004200+0100A10SV
  1371. X004200+0200A20SV
  1372. X004200+0300A30SV
  1373. X004200+0400A40SV
  1374. X004200+0500A50SV
  1375. X004200+0600A60SV
  1376. X004200+0700A70SV
  1377. X004200+0800A80SV
  1378. X004200+0900A90SV
  1379. END_OF_FILE
  1380. if test 2550 -ne `wc -c <'samples/test.star6-A'`; then
  1381.     echo shar: \"'samples/test.star6-A'\" unpacked with wrong size!
  1382. fi
  1383. # end of 'samples/test.star6-A'
  1384. fi
  1385. if test -f 'samples/test.starbright' -a "${1}" != "-c" ; then 
  1386.   echo shar: Will not clobber existing file \"'samples/test.starbright'\"
  1387. else
  1388. echo shar: Extracting \"'samples/test.starbright'\" \(2142 characters\)
  1389. sed "s/^X//" >'samples/test.starbright' <<'END_OF_FILE'
  1390. X000000+0000-00SS
  1391. X000000+0100-10SS
  1392. X000000+0200-20SS
  1393. X000000+0300-30SS
  1394. X000000+0400-40SS
  1395. X000000+0500-50SS
  1396. X000000+0600-60SS
  1397. X000000+0700-70SS
  1398. X000000+0800-80SS
  1399. X000000+0900-90SS
  1400. X001000+0000-00SS
  1401. X001000+0100-01SS
  1402. X001000+0200-02SS
  1403. X001000+0300-03SS
  1404. X001000+0400-04SS
  1405. X001000+0500-05SS
  1406. X001000+0600-06SS
  1407. X001000+0700-07SS
  1408. X001000+0800-08SS
  1409. X001000+0900-09SS
  1410. X002000+0000000SS
  1411. X002000+0100010SS
  1412. X002000+0200020SS
  1413. X002000+0300030SS
  1414. X002000+0400040SS
  1415. X002000+0500050SS
  1416. X002000+0600060SS
  1417. X002000+0700070SS
  1418. X002000+0800080SS
  1419. X002000+0900090SS
  1420. X003000+0000-16SS
  1421. X003000+0100C10SS
  1422. X004000+0000100SS
  1423. X004000+0100110SS
  1424. X004000+0200120SS
  1425. X004000+0300130SS
  1426. X004000+0400140SS
  1427. X004000+0500150SS
  1428. X004000+0600160SS
  1429. X004000+0700170SS
  1430. X004000+0800180SS
  1431. X004000+0900190SS
  1432. X000100+0000-00SD
  1433. X000100+0100-10SD
  1434. X000100+0200-20SD
  1435. X000100+0300-30SD
  1436. X000100+0400-40SD
  1437. X000100+0500-50SD
  1438. X000100+0600-60SD
  1439. X000100+0700-70SD
  1440. X000100+0800-80SD
  1441. X000100+0900-90SD
  1442. X001100+0000-00SD
  1443. X001100+0100-01SD
  1444. X001100+0200-02SD
  1445. X001100+0300-03SD
  1446. X001100+0400-04SD
  1447. X001100+0500-05SD
  1448. X001100+0600-06SD
  1449. X001100+0700-07SD
  1450. X001100+0800-08SD
  1451. X001100+0900-09SD
  1452. X002100+0000000SD
  1453. X002100+0100010SD
  1454. X002100+0200020SD
  1455. X002100+0300030SD
  1456. X002100+0400040SD
  1457. X002100+0500050SD
  1458. X002100+0600060SD
  1459. X002100+0700070SD
  1460. X002100+0800080SD
  1461. X002100+0900090SD
  1462. X003100+0000-16SD
  1463. X003100+0100C10SD
  1464. X004100+0000100SD
  1465. X004100+0100110SD
  1466. X004100+0200120SD
  1467. X004100+0300130SD
  1468. X004100+0400140SD
  1469. X004100+0500150SD
  1470. X004100+0600160SD
  1471. X004100+0700170SD
  1472. X004100+0800180SD
  1473. X004100+0900190SD
  1474. X000200+0000-00SV
  1475. X000200+0100-10SV
  1476. X000200+0200-20SV
  1477. X000200+0300-30SV
  1478. X000200+0400-40SV
  1479. X000200+0500-50SV
  1480. X000200+0600-60SV
  1481. X000200+0700-70SV
  1482. X000200+0800-80SV
  1483. X000200+0900-90SV
  1484. X001200+0000-00SV
  1485. X001200+0100-01SV
  1486. X001200+0200-02SV
  1487. X001200+0300-03SV
  1488. X001200+0400-04SV
  1489. X001200+0500-05SV
  1490. X001200+0600-06SV
  1491. X001200+0700-07SV
  1492. X001200+0800-08SV
  1493. X001200+0900-09SV
  1494. X002200+0000000SV
  1495. X002200+0100010SV
  1496. X002200+0200020SV
  1497. X002200+0300030SV
  1498. X002200+0400040SV
  1499. X002200+0500050SV
  1500. X002200+0600060SV
  1501. X002200+0700070SV
  1502. X002200+0800080SV
  1503. X002200+0900090SV
  1504. X003200+0000-16SV
  1505. X003200+0100C10SV
  1506. X004200+0000100SV
  1507. X004200+0100110SV
  1508. X004200+0200120SV
  1509. X004200+0300130SV
  1510. X004200+0400140SV
  1511. X004200+0500150SV
  1512. X004200+0600160SV
  1513. X004200+0700170SV
  1514. X004200+0800180SV
  1515. X004200+0900190SV
  1516. END_OF_FILE
  1517. if test 2142 -ne `wc -c <'samples/test.starbright'`; then
  1518.     echo shar: \"'samples/test.starbright'\" unpacked with wrong size!
  1519. fi
  1520. # end of 'samples/test.starbright'
  1521. fi
  1522. if test -f 'starchart/README.mac' -a "${1}" != "-c" ; then 
  1523.   echo shar: Will not clobber existing file \"'starchart/README.mac'\"
  1524. else
  1525. echo shar: Extracting \"'starchart/README.mac'\" \(1766 characters\)
  1526. sed "s/^X//" >'starchart/README.mac' <<'END_OF_FILE'
  1527. XWhile there is not yet a Macintosh version available, some of the programs
  1528. Xshould compile and run on the Macintosh.
  1529. X
  1530. XHere is a makefile for starpost for MPW C, provided by Gavin Eadie,
  1531. XGavin_Eadie@um.cc.umich.edu.  It has been modified so that the
  1532. Xnon-ASCII character that appear in MPW makefiles are printable - <f>
  1533. Xfor the dependency operator and <d> for the literal-next:
  1534. X#   File:       StarPost.make
  1535. X#   Target:     StarPost
  1536. X#   Sources:    starmain.c
  1537. X#               starm2.c
  1538. X#               starsupp.c
  1539. X#               readfile.c
  1540. X#               parse_input.c
  1541. X#               starpost.c
  1542. X#               starcust.c
  1543. X#   Created:    Thursday, March 8, 1990 9:46:18 AM
  1544. X
  1545. XCOPTIONS = -m -d 'NEBFILE="neb.star"' -d 'STARFILE="yale.star"'
  1546. X
  1547. Xstarmain.c.o <f> starmain.c
  1548. X    C -s 1 starmain.c {COPTIONS}
  1549. Xstarm2.c.o <f> starm2.c
  1550. X    C -s 2 starm2.c {COPTIONS}
  1551. Xstarsupp.c.o <f> starsupp.c
  1552. X    C -s 3a starsupp.c {COPTIONS}
  1553. Xreadfile.c.o <f> readfile.c
  1554. X    C -s 4 readfile.c {COPTIONS}
  1555. Xparse_input.c.o <f> parse_input.c
  1556. X    C -s 5 parse_input.c {COPTIONS}
  1557. Xstarpost.c.o <f> starpost.c
  1558. X    C -s 6 starpost.c {COPTIONS}
  1559. Xstarcust.c.o <f> starcust.c
  1560. X    C -s 7 starcust.c {COPTIONS}
  1561. X
  1562. XOBJECTS = <d>
  1563. X      starmain.c.o <d>
  1564. X      starm2.c.o <d>
  1565. X      starsupp.c.o <d>
  1566. X      readfile.c.o <d>
  1567. X      parse_input.c.o <d>
  1568. X      starpost.c.o <d>
  1569. X      starcust.c.o
  1570. X
  1571. XStarPost <ff> StarPost.make {OBJECTS}
  1572. X   Link -ss 65000 -w -c 'MPS ' -t MPST <d>
  1573. X      {OBJECTS} <d>
  1574. X      "{Libraries}"stubs.o <d>
  1575. X      "{CLibraries}"CRuntime.o <d>
  1576. X      "{Libraries}"Interface.o <d>
  1577. X      "{CLibraries}"StdCLib.o <d>
  1578. X      "{CLibraries}"CSANELib.o <d>
  1579. X      "{CLibraries}"Math.o <d>
  1580. X      "{CLibraries}"CInterface.o <d>
  1581. X      "{Libraries}"ToolLibs.o <d>
  1582. X      {Cincludes}StdCLib.o <d>
  1583. X      -o StarPost
  1584. END_OF_FILE
  1585. if test 1766 -ne `wc -c <'starchart/README.mac'`; then
  1586.     echo shar: \"'starchart/README.mac'\" unpacked with wrong size!
  1587. fi
  1588. # end of 'starchart/README.mac'
  1589. fi
  1590. if test -f 'starchart/Starchar.MSC' -a "${1}" != "-c" ; then 
  1591.   echo shar: Will not clobber existing file \"'starchart/Starchar.MSC'\"
  1592. else
  1593. echo shar: Extracting \"'starchart/Starchar.MSC'\" \(2255 characters\)
  1594. sed "s/^X//" >'starchart/Starchar.MSC' <<'END_OF_FILE'
  1595. X#    Makefile Microsoft C Version 5.1 - staribm
  1596. XCC=cl
  1597. X
  1598. XLIB=C:\C51\LIB\GRAPHICS.LIB
  1599. X
  1600. XTARGS=staribm.exe
  1601. X
  1602. XLOCAL=-DSYSV -Dindex=strchr
  1603. X
  1604. X
  1605. X# FOR ALL
  1606. X# define OLD_GREEK if you have the old yale.star file, with a
  1607. X#                slightly different greek encoding
  1608. X# To produce programs which allow keyboard user interaction with the -u flag, 
  1609. X#    see COBJ and starmain.o below.
  1610. XDEFINES=-DOLD_GREEK
  1611. X
  1612. X#list ALL header files
  1613. XHDRS=icon.h parse_input.h star3.h pcstar.h patchlevel.h
  1614. X
  1615. X#list ALL source files, whether or not you use them
  1616. XSRCS= interact.c parse_input.c readfile.c starimages.c starm2.c starmain.c \
  1617. X    starsupp.c staribm.c
  1618. X
  1619. X#list ALL object files which could be produced
  1620. XOBJS= interact.obj parse_input.obj readfile.obj starimages.obj starm2.obj \
  1621. X    starcust.obj starmain.obj staribm.obj
  1622. X
  1623. XFILES=Makefile README $(SRCS) $(HDRS)
  1624. X
  1625. X#The following may be defined here to set default data file locations
  1626. X# filename    filetype    description
  1627. X# STARFILE    STARFTYPE    bright star data (yale)
  1628. X# INDEXFILE    INDEXFTYPE    index to fainter stars (SAO)
  1629. X# NEBFILE    NEBFTYPE    nebulae
  1630. X# BOUNDFILE    BOUNDFTYPE    constellation boundaries
  1631. X# PATTERNFILE    PATTFTYPE    constellation patterns
  1632. X# CNAMEFILE    CNAMEFTYPE    constellation names
  1633. X# PLANETFILE    PLANETFTYPE    planet positions
  1634. X
  1635. X# other files
  1636. X# CONSTFILE    constellation locations
  1637. X# RCFILE    resource file
  1638. X
  1639. Xall: $(TARGS)
  1640. X
  1641. X#CFLAGS= $(LOCAL) $(DEFINES) -AL -Gt16 -Zi -Od
  1642. XCFLAGS= $(LOCAL) $(DEFINES) -AL
  1643. X
  1644. X
  1645. XCOBJ=starmain.obj starm2.obj starsupp.obj readfile.obj parse_input.obj \
  1646. X    starcust.obj interact.obj
  1647. XCOBJIM=$(COBJ) starimages.obj
  1648. X
  1649. Xstaribm.exe: $(COBJIM) staribm.obj
  1650. X    $(CC) *.obj -Zi -F 6000 -Festaribm.exe $(LIB)
  1651. X
  1652. X# use -DINTERACTIVE_CONTROL in starmain.obj and starm2.obj
  1653. X#     to allow keyboard user interaction
  1654. Xstarmain.obj: starmain.c star3.h pcstar.h parse_input.h
  1655. X    $(CC) $(CFLAGS) -DINTERACTIVE_CONTROL -c starmain.c
  1656. X
  1657. Xstarm2.obj: starm2.c star3.h pcstar.h
  1658. X    $(CC) $(CFLAGS) -DINTERACTIVE_CONTROL -c starm2.c
  1659. X
  1660. Xreadfile.obj: readfile.c star3.h pcstar.h
  1661. X
  1662. Xstarimages.obj: starimages.c star3.h pcstar.h
  1663. X    $(CC) $(CFLAGS) -DAREAS -c starimages.c
  1664. X
  1665. Xstarcust.obj: starcust.c star3.h pcstar.h
  1666. Xinteract.obj: star3.h pcstar.h parse_input.h patchlevel.h
  1667. Xparse_input.obj: star3.h pcstar.h parse_input.h
  1668. Xstarsupp.obj: star3.h pcstar.h 
  1669. X
  1670. Xclean:
  1671. X    rm -f *.obj $(TARGS)
  1672. END_OF_FILE
  1673. if test 2255 -ne `wc -c <'starchart/Starchar.MSC'`; then
  1674.     echo shar: \"'starchart/Starchar.MSC'\" unpacked with wrong size!
  1675. fi
  1676. # end of 'starchart/Starchar.MSC'
  1677. fi
  1678. if test -f 'starchart/startool.icon' -a "${1}" != "-c" ; then 
  1679.   echo shar: Will not clobber existing file \"'starchart/startool.icon'\"
  1680. else
  1681. echo shar: Extracting \"'starchart/startool.icon'\" \(1933 characters\)
  1682. sed "s/^X//" >'starchart/startool.icon' <<'END_OF_FILE'
  1683. X/* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16
  1684. X */
  1685. X    0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  1686. X    0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  1687. X    0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF007,0xFFFF,0xFFFF,0xF987,
  1688. X    0xF7DF,0xFFE0,0x03FF,0xF6B7,0xF7DF,0xFF0F,0xF87F,0xF6B7,
  1689. X    0xF0DF,0xF8FF,0xFF8F,0xF087,0xFEDF,0xE3FF,0xFFE3,0xF6AF,
  1690. X    0xFEDF,0xCFFF,0xFFF9,0xF6B7,0xF0DF,0xBFFF,0xFFFE,0xF6BB,
  1691. X    0xFFFE,0x7FFF,0xFFFF,0x3FFF,0xFFFC,0xFFFF,0xFFFF,0x9FFF,
  1692. X    0xFFF9,0xFFFF,0xFFFF,0xCFFF,0xFFF3,0xFFFD,0xFFFF,0xE7FF,
  1693. X    0xFFF7,0xFFFF,0xFFFF,0xF7FF,0xFFEF,0xFFFF,0xFF7F,0xFBFF,
  1694. X    0xFFDF,0xDFFF,0xFF7F,0xFDFF,0xFF9F,0xFFFF,0xFFFF,0xFCFF,
  1695. X    0xFFBF,0xF7FF,0xFFFF,0xFEFF,0xFF3F,0xFFFF,0xFFFF,0xFE7F,
  1696. X    0xFF7F,0xFFFF,0xFFFF,0xFF7F,0xFF7F,0xFFFF,0xFFEF,0xBF7F,
  1697. X    0xFEFF,0xFFFF,0x7FC7,0xFFBF,0xFEFF,0xF7FF,0xFFEF,0xFFBF,
  1698. X    0xFEFF,0xE3FF,0xFFFF,0xFFBF,0xFCFF,0xF7FF,0xFFFF,0xFF9F,
  1699. X    0xFDFF,0xFFFF,0xE7FF,0xFFDF,0xFDFF,0xFFFF,0xE7FF,0xFFDF,
  1700. X    0xFDFF,0xFFFF,0xFFFF,0xFFDF,0xFDFF,0xF7FF,0xFFFF,0xFFDF,
  1701. X    0xFDFF,0xFFFF,0xFFFF,0xFFDF,0xFDF7,0xFFFF,0xFFFF,0x7FDF,
  1702. X    0xFDFF,0xFFFF,0xFFFF,0xFFDF,0xFDFF,0xFFFF,0xFFFF,0xFFDF,
  1703. X    0xFDFF,0xFFFF,0xFFFF,0xFFDF,0xFCFF,0xFFE7,0xFBFF,0xFF9F,
  1704. X    0xFEFF,0xFFE7,0xFFFF,0xFFBF,0xFEFF,0xFFFF,0xFFFF,0xFFBF,
  1705. X    0xFEFF,0x7FFF,0xFFEF,0xFFBF,0xFF7F,0xFFFF,0xFFC7,0xFF7F,
  1706. X    0xFF7F,0xFFFF,0xFFEF,0xFF7F,0xFF3F,0xFFFF,0xFFFF,0xFE7F,
  1707. X    0xFFBF,0xFFFF,0xFFFF,0xFEFF,0xFF9F,0xFDFF,0xFBF7,0xFCFF,
  1708. X    0xFFDF,0xFFFF,0xFFFF,0xFDFF,0xFFEF,0xFFFF,0xFFFF,0xFBFF,
  1709. X    0xFFF7,0xFFFF,0xBFFF,0xF7FF,0xFFF3,0xFFFF,0xFFFF,0xE7FF,
  1710. X    0xFFF9,0xFFFF,0xFFFF,0xCFFF,0xFFFC,0xFFFF,0xFFFF,0x9FFF,
  1711. X    0xFFFE,0x7FFB,0xFFFF,0x3FFF,0xFFFF,0xBFFF,0xFFFE,0xFFFF,
  1712. X    0xFFFF,0xCFFF,0xFFF9,0xFFFF,0xE0B7,0xE3FF,0xFFE3,0x9841,
  1713. X    0xEFB7,0xF8FF,0xFF8F,0x6B77,0xEFB7,0xFF0F,0xF87F,0x6B77,
  1714. X    0xEF87,0xFFE0,0x03FF,0x0877,0xEFB7,0xFFFF,0xFFFF,0x6AF7,
  1715. X    0xEFB7,0xFFFF,0xFFFF,0x6B77,0xE0B7,0xFFFF,0xFFFF,0x6BB7,
  1716. X    0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF
  1717. END_OF_FILE
  1718. if test 1933 -ne `wc -c <'starchart/startool.icon'`; then
  1719.     echo shar: \"'starchart/startool.icon'\" unpacked with wrong size!
  1720. fi
  1721. # end of 'starchart/startool.icon'
  1722. fi
  1723. echo shar: End of archive 2 \(of 32\).
  1724. cp /dev/null ark2isdone
  1725. MISSING=""
  1726. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ; do
  1727.     if test ! -f ark${I}isdone ; then
  1728.     MISSING="${MISSING} ${I}"
  1729.     fi
  1730. done
  1731. if test "${MISSING}" = "" ; then
  1732.     echo You have unpacked all 32 archives.
  1733.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1734. else
  1735.     echo You still need to unpack the following archives:
  1736.     echo "        " ${MISSING}
  1737. fi
  1738. ##  End of shell archive.
  1739. exit 0
  1740.  
  1741.